package org.myspring.test.serivce;


import org.myspring.annotation.Component;
import org.myspring.annotation.Scope;
import org.myspring.test.serivce.impl.OrderServiceImpl;

@Component("userService")
@Scope("singleton")
public class UserService {

//    @MyAutowired
    private OrderServiceImpl orderService;

    public void test() {
        System.out.println("------userService.test()-------");
        System.out.println("-------" + orderService + "-------");
    }
}
